#ifndef __LED_H__
#define __LED_H__
#include "basictype.h"

//开发板从左至右，一次为led0~led3
extern void led_init(void);
extern INT32 led_getCount(void);
extern void led_turnOn(INT32 ledIdx);
extern void led_turnOff(INT32 ledIdx);
extern void led_turnOnAll(void);
extern void led_turnOffAll(void);
//每调用一次该函数，灯的状态
extern void led_toggle(INT32 ledIdx);
extern void led_multiToggle(INT32 mask);
extern void led_dispnum(INT32 num);

#endif
